package com.c.tasks;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class Task {

	@Scheduled(fixedRate = 1000 * 5)
	private void taskname() {
//		System.out.println("定时执行");
	}
}
